home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 12984 / 12984.xpi / chrome / VideoDownloaderToolbar.jar / content / queue.xul < prev    next >
Extensible Markup Language  |  2010-01-29  |  2KB  |  54 lines

  1. <?xml version="1.0"?> 
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  3. <?xml-stylesheet href="chrome://vidbar/skin/vid.css" type="text/css"?>
  4.  
  5. <window id="vidbar-download-queue-window" title="Download Queue"
  6.     flex="1" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.     xmlns:html="http://www.w3.org/1999/xhtml" screenX="0" screenY="0"
  8.     width="640" height="480" persist="width height screenX screenY sizemode">
  9.  
  10.     <script type="application/x-javascript" src="chrome://vidbar/content/utils.js" />
  11.     <script type="application/x-javascript" src="chrome://vidbar/content/db.js" />
  12.     <script type="application/x-javascript" src="chrome://vidbar/content/queue.js" />
  13.     <script type="application/x-javascript">
  14.     <![CDATA[
  15.         var downloadQueue = new com.VidBar.DownloadQueue();
  16.         window.addEventListener("load", function(event) { downloadQueue.onLoad(event); }, false);
  17.         window.addEventListener("unload", function(event) { downloadQueue.onUnload(event); }, false);
  18.         ]]>
  19.     </script>
  20.  
  21.     <vbox flex="1">
  22.         <groupbox flex="1">
  23.             <caption label="Waiting Queue" />
  24.             <tree id="vidbar-wait-queue" flex="1" enableColumnDrag="false"
  25.                 hidecolumnpicker="true" onselect="downloadQueue.onSelect()">
  26.                 <treecols>
  27.                     <treecol id="queueFilename" label="File Name" flex="1" />
  28.                     <treecol id="queueSize" label="Size" width="100" />
  29.                 </treecols>
  30.                 <treechildren id="queueChildren" />
  31.             </tree>
  32.             <hbox>
  33.                 <button id="vidbar-queue-remove" label="Remove From Queue" flex="1" 
  34.                 oncommand="downloadQueue.removeFromQueue()"    disabled="true" />
  35.                 <button id="vidbar-queue-clean" label="Clean Queue" flex="1" 
  36.                 oncommand="downloadQueue.cleanQueue()" />
  37.             </hbox>
  38.         </groupbox>
  39.         <groupbox flex="1">
  40.             <caption label="Downloading List" />
  41.             <tree id="vidbar-download-list" flex="1" enableColumnDrag="false"
  42.                 hidecolumnpicker="true">
  43.                 <treecols>
  44.                     <treecol id="downFilename" label="File Name" flex="1" />
  45.                     <treecol id="downStatus" label="Status" width="80" />
  46.                     <treecol id="downSize" label="Size" width="100" />
  47.                     <treecol id="downPercent" label="Complete Percent" width="120" />
  48.                 </treecols>
  49.                 <treechildren id="downChildren" />
  50.             </tree>
  51.         </groupbox>
  52.     </vbox>
  53. </window>
  54.